<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8" />
    <meta name="author" content="@梦雨(QQ50361804)" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>{$c.username}的个人主页 - {:set('title')}</title>
    <meta name="keywords" content="{:set('keywords')}">
    <meta name="description" content="{:set('description')}">
    <meta name="renderer" content="webkit" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <link rel="stylesheet" href="*INDEX*/css/bootstrap.min.css">
    <link rel="stylesheet" href="*ADMIN*/admin/lib/layui/css/layui.css">
    <link rel="stylesheet" href="*ADMIN*/admin/css/font.css">
	<link href="*ADMIN*/css/default.css" rel="stylesheet">
	<script src="*ADMIN*/js/jquery-3.4.1.min.js"></script>
    <script src="/public/admin/lib/layui/layui.js"></script>
    <link rel="stylesheet" type="text/css" href="*INDEX*/css/uid.css?v=0.1" />
</head>
<body class="indexx">
    <main class="main pb-20">
        <div class="header-image">
            <div class="js-parallax"></div>
        </div>
        <div class="container gutter-top">
            <!-- Header -->
            <header class="header_uid box">
                <div class="header__left">
                    <div class="header__photo">
                        <img class="header__photo-img" src="{$c.userhead}" alt="{:user('username')}">
                    </div>
                    <div class="header__base-info">
                        <h4 class="title titl--h4">{$c.username}</h4>
                        <ul class="header__social">
                            <li>
                                <div class="addqa">积分:{$c.point}</div>
                            </li>
                            <li>
                                <a href="/" class="addqun" target="_blank">返回首页</a>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="header__right">
                    <div class="status">{:dingyi($c.description,'没有任何介绍')}</div>
                </div>
            </header>
            <div class="row sticky-parent">
                <aside class="col-12 col-md-12 col-lg-2">
                    <div class="sidebar box sticky-column">
                        <ul class="nav genduo">
                            <li class="nav__item">
                                <a href="/">
                                    <img src="*INDEX*/img/index.png" onerror="javascript:this.src='/favicon.ico';">
                                    返回首页
                                </a>
                            </li> 
                            <li class="nav__item">
                                <a {if strpos(get_url(), 'uid-'.$c.userid.'.html') !== false}class="active"{/if}{if strpos(get_url(), 'uid-'.$c.userid.'-html') !== false}class="active"{/if} href="{:url('index/user/uid',array('model'=>'html','id'=>$c.userid))}">
                                    <img src="*INDEX*/img/tougao.png" onerror="javascript:this.src='/favicon.ico';">
                                    投稿文章
                                </a>
                            </li>
                            
                            {volist name=":fun_s('model',array('open'=>1),'px desc',10,false)" id="vo"}
                             <li class="nav__item">
                                <a {if strpos(get_url(), 'uid-'.$c.userid.'-'.$vo.name) !== false}class="active"{/if} href="{:url('index/user/uid',array('model'=>$vo.name,'id'=>$c.userid))}">
                                    <img src="{$vo.pic}" onerror="javascript:this.src='/favicon.ico';">
                                    {$vo.title}
                                </a>
                            </li>
                            {/volist} 
                        </ul>
                    </div>
                </aside>
                
                
                <!-- 内容开始 -->
                <div class="col-12 col-md-12 col-lg-10">
                    <div class="box box-content" style="min-height: 625px;">
                        <h1 class="title title--h1 first-title title__separate">投稿</h1> 
                        {volist name=":fun_s(get('model','html'),array('open'=>1,'uid'=>$c.userid),'id desc',10,false)" id="vo" empty="
                        <div align='center'>
                            <img src='/public/img/empty.jpg' height='200' />
                            <h4 class='pt-20'>
                               没有更多的记录
                               </h4>
                        </div>"}
                        <div class="sides_list_property large mt-10">
                            <div class="sides_list_property_detail">
                                <h4>
                                    {if get('model','html')=='html'}
                                    <a {if $vo.settop==1}class="box_san" title="推荐"{/if} style="font-size: 16px;{if $vo.time>=Date_k(0)}color: #f71605;{/if}" href="{:url('index/index/html',array('id'=>$vo.id))}">{$vo.title}</a>
                                    {else/}
                                    <a {if $vo.settop==1}class="box_san" title="推荐"{/if} style="font-size: 16px;{if $vo.time>=Date_k(0)}color: #f71605;{/if}" href="{:url('index/model/html',array('model'=>$vo.m,'id'=>$vo.id))}">{$vo.title}</a>
                                    {/if}
                                {if $vo.settop==1}<i class="iconfont" style="color: #FF5722;">&#xe6de;</i>{/if}
                                </h4>
                                <div class="lists_property_price">
                                    <div class="lists_property_price_value first">
                                        <span class="post-date ml-0">
                                            <a  target="_blank" href="{:url('index/user/uid',array('id'=>$vo.uid))}">
                                            <span class="icons"><i class="iconfont">&#xe726;</i> </span>{:fun_sc_p('member', array('userid'=>$vo.uid), 'username')}</a></span>
                                        <span class="post-date ml-0"><i class="iconfont">&#xe6bb;</i> {$vo.time|date="m-d",###}</span>
                                    </div>
                                    <span class="post-date ml-0"><i class="iconfont">&#xe6e6;</i> {$vo.view}</span>
                                </div>      
                            </div>
                        </div> 
                        {/volist} 
                        {:fun_s(get('model','html'),array('open'=>1,'uid'=>$c.userid),'id desc',10,false)->render()}
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>
        </div>
    </main>
    <script type="text/javascript" src="*ADMIN*/js/form_ajax.js?v={:set('banben')}"></script>
    <script src="*INDEX*/js/plugins.min.js"></script>
    <script src="*INDEX*/js/common.js"></script>
    {:hook('useruid')}
	</body>
</html>